SmartPay\Modules\Payment\Payment A

Total Complexity 51
Dependencies 8
Dependents 2
Total lines 315
Lines of code 224
Logical lines of code 123
Comment lines 17
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
_get_payment_data()
A
40 14 60
ajax_process_payment()
A
53 8 22
insertPayment()
S
49 7 28
_process_gateway_payment()
S
59 5 13
_get_payment_customer()
S
54 4 20
onPaymentCancel()
S
67 4 7
_prepare_payment_data()
S
53 2 21
registerRestRoutes()
S
51 1 32
onPaymentComplete()
S
66 3 8
_checkValidation()
S
71 2 5
__construct()
S
66 1 8